using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
using System.Linq;
using System.Resources;
using System.Runtime.Serialization;
using System.Text;
using System.Threading.Tasks;

namespace KPIS.GERP.Models.ICM
{

	[DataContract, Table("IcmSysContactStatus")]
    public class SysContactStatus
    {
        public SysContactStatus()
        {
            this.MasContacts = new HashSet<MasContact>();
        }
    

		[Key, DatabaseGenerated(DatabaseGeneratedOption.Identity)]
		[DataMember, Display(Name = "ConStatId", ResourceType = typeof(Resources.SysContactStatusResource))]
        public int ConStatId { get; set; }

		[DataMember, Display(Name = "ConStatName", ResourceType = typeof(Resources.SysContactStatusResource))]
        public string ConStatName { get; set; }

		[DataMember, Display(Name = "RecordStatus", ResourceType = typeof(Resources.SysContactStatusResource))]
        public string RecordStatus { get; set; }

		[DataMember, Display(Name = "CreatedBy", ResourceType = typeof(Resources.SysContactStatusResource))]
        public Nullable<int> CreatedBy { get; set; }

		[DataMember, Display(Name = "CreatedWhen", ResourceType = typeof(Resources.SysContactStatusResource))]
        public Nullable<System.DateTime> CreatedWhen { get; set; }

		[DataMember, Display(Name = "UpdatedBy", ResourceType = typeof(Resources.SysContactStatusResource))]
        public Nullable<int> UpdatedBy { get; set; }

		[DataMember, Display(Name = "UpdatedWhen", ResourceType = typeof(Resources.SysContactStatusResource))]
        public Nullable<System.DateTime> UpdatedWhen { get; set; }

		[DataMember, Display(Name = "RestoredBy", ResourceType = typeof(Resources.SysContactStatusResource))]
        public Nullable<int> RestoredBy { get; set; }

		[DataMember, Display(Name = "RestoredWhen", ResourceType = typeof(Resources.SysContactStatusResource))]
        public Nullable<System.DateTime> RestoredWhen { get; set; }


        [DataMember, Display(Name = "ICollection<MasContact>", ResourceType = typeof(Resources.SysContactStatusResource))]
        public virtual ICollection<MasContact> MasContacts { get; set; }

    }
}